SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31d8057b9f3aab40d88c41124d868e0132b6d989dbda28b37b7aad64185119cc' 
  AND token = 'tpTPvLgivOXa6ByvWAC0xcVxeRHSblHgNE8kL8n21Ac=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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