SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5dfe23b87d05c4d9ab1580c7216ec35a9dfba71e061b43c20432d26d8a0a3859' 
  AND token = 'pdUCaBjES/8Bx0V2nzR0Sa/0gDHjYIj9yhhoHf5hKC8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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