SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8c2b9137b8ab6941927ec23f78436e282577f60848c4f17f00d381b90d8f1a21' 
  AND token = 'vRUe7z6wpyZqSk2O8mRxD4zlvnQ4R3qhGPFt9BNyhP8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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