SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0be6d4958ead017e5698916c12b8a4788dbcf51b19ed473e4278a3317ec62554' 
  AND token = 'QDZ9CV5p05a1cp4pQKW5i2ZtJ0qwTVfiNz2JZqGOwsI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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