SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '61bc6c717886d22288080aeb4bdb7e92231cb9248fbc6deee0ea38c9f9510e78' 
  AND token = 'HlZ4iLKXsbuv0qbLl3y3C1rFQsolP1fpT6mvA5zcGSQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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