SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f590b0365645ca6f25aec0ca764e239abd66bb517ae8f85efb3b85672e8e94c' 
  AND token = 'oAZa/pFb/beIJWwvX7SjBIRMt8dyT8J845np7TzURaY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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