SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab81a34245bfb4d0c7870e1cc517dab156ea7b525ab5f9d0b5efdf21bd7de271' 
  AND token = 'ROIYdV5npuzGL+3cU63SLhHHaSDt3sPrNU6NNLEC+2o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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