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

Query time 0.00035

JSON explain

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