SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2df487e4d50c707a9f03b890f0be4b65d72ad0bd926e6a0c2e54caad9162720e' 
  AND token = 'W/NsR99I6ba2r8jXRsUM9UZADVVq33VqJsa5C6DEOQ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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