SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20df4e9e7a342818ac4899cfa8675b5f4456264d26e3682c8e573d44dd47d0ea' 
  AND token = 'rknuDzMnsNnejJIl7wYCU9WOfBdiips5R7BG0wJYloE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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