SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b48138ece6b047622f9992b7185338c05e29fe653357293ceb2db263abb9127e' 
  AND token = 'eO1yV0weJbkesWq4Xu0Xyw0kOsO1MPI6YSfbddk7M/4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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