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

Query time 0.00038

JSON explain

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