SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4510c89224ab553345d4fc7ef6848932c32404e2b651957a44751c30181304f' 
  AND token = 'ggaaX4IED4xbUUiejW67B0Al3j/gNfK/bVdTpUNwkD4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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