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

Query time 0.00027

JSON explain

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