SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '310ae6f8f5db2e569c46d7f56354ac2cc164f5b580b46f1744644dd3471f9774' 
  AND token = 'sSUnUBkpraNiYp2aaPJQYCK5kKp+VqEChpurf+p1yZI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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