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

Query time 0.00027

JSON explain

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