SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a767a97b014623b884ce3e3ea307ea953913bda05cc564bbb594aae24a16bbad' 
  AND token = 'U8rpvQd2KHfMVDHETh09dFXZpZDF6wh++rHjnB1fcjM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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