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

Query time 0.00050

JSON explain

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