SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9f7d9ef67077da82c41b5e7eab4454718c005f3923d27a945263e39f98857c9' 
  AND token = '0PsjEs/HDEwmYsSK2LqLiDMo1fSRfE3gaLj5Z+5Zyf0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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