SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0ae0a063a2ac6394a7c23c8570eb3a22b21025cd5003a93ff28492ae5775165' 
  AND token = 'scHfIf14sORKAgz5N3ZLf2kDUQki15DUpjEu5VJ8Mzw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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