SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db5a124386c51fd49e1701bc9f6f42ec968f7cefcc4da0cd64960dab89fd1e18' 
  AND token = 'Tt2CEa6HftrsNr9z9e3fsW8AYUB9etVsluYJJ1X7gpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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