SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6b9f7dd7d7cbcc0b73a3439a3f8a886f03b63bf99f038dbe101818f7773b9d0' 
  AND token = '5lXhcubnzwz37Ff3YSSlxLMn1DikC36i75wQZjGTXig=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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