SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09cdf7a0857ea7c6b63a6de4dbd355e6bd536efbe8616b5fccffa8d95503089d' 
  AND token = 'S6BaYMlUYLoUGgFxS+Lg1rCaODl/oU2zSlsgcAQ6j40=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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