SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c338d1c794e95438236e8a28ad4a17ca0975ded6b186422dfec6a2cb98ef7e57' 
  AND token = '7NV9B+GM2nrxG7+pzxm0l+cxvOrTTGm56jaVWd0y5gk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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