SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c3648d4158f6acb6357c270a011ec1c9371a71c26e5bb4df7d558bb627c845f8' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}