SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1017ebfdc68a95d685108a53fb8ec59758384fcef43d5dad561043f5f4bf6d45' 
  AND token = 'r1yw9XgzqiQWV4wTapYfUI7t6o9ZHP4ZgAC4eEPtE20=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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