SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '247e6bf4bc567187ec2bffc4050c5fd44e6ac2dd707e3865ba9d70011612ddbc' 
  AND token = '9LH/zndfGLwlTTkzSeliHs1NAQAsBHhs1Fpj3L6b2ss=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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