SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef6049b89f3f3e61d8d2fdfab35cea7fc5ed34ff8d303d941d91b7d21564c1b0' 
  AND token = '87jiVGNwINDZ2MxXxZq10M2oosEmx3NHqn5jlmY6eOY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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