SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e64c6d22af6688d63efed81f927eeccd8ab43781c923ccccb363e6fa51d5342' 
  AND token = '8ZVEKdAqJ2Oj61g8xxMiATu+8dW6YIwod7cO8zHwDtw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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