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

Query time 0.00038

JSON explain

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